package book.ch3.StaticExample;

public class StaticExample {
	static int globalCount = 0;

	public static void main(String[] args) {
		StaticExample.globalCount++;
		StaticExample.globalCount++;
		System.out.println("globalCount of example1 ="+StaticExample.globalCount);
		System.out.println("globalCount of example2 ="+StaticExample.globalCount);
		System.out.println("globalCount = "+StaticExample.globalCount);
	}

}
